package dongshi.daddy.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * xml方式服务提供者实现类
 */
public class ProviderServiceImpl implements ProviderService{
    private static Logger logger = LoggerFactory.getLogger("service_ProviderServiceImpl");
    public String SayHello(String word) {
        String logHead = "ProviderServiceImpl_SayHello";
        logger.info(logHead + " begin, word is: " + word);
        logger.info(logHead + " end");
        try {
            Thread.sleep(3);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return word + " back to u";
    }
}